import  router from './router'
import NProgress from "nprogress"; // progress bar
import "nprogress/nprogress.css"; // progress bar style
router.beforeEach((to,from,next)=>{
    NProgress.start()
    next()
})

router.afterEach((to,from,next)=>{
    NProgress.done()
})